package com.lsj.api.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;


@RestController
public class MessageController {

	@RequestMapping("/sendMessage")
	public String sendMessage(HttpServletRequest request) {
		System.out.println(
				"TraceId:" + request.getHeader("X-B3-TraceId") + ",spanid:" + request.getHeader("X-B3-SpanId"));
		return "消息服务:发送消息";
	}

}
